/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cs4280.bean;

/**
 *
 * @author PangPei
 */
public class Member {
    private int lp;
    private String role;
    private int id;
    private String username;
    private String password;
    private int lpMoney;

    public int getLpMoney() {
        return lpMoney;
    }

    public void setLpMoney(int lpMoney) {
        this.lpMoney = lpMoney;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getLp() {
        return lp;
    }

    public void setLp(int lp) {
        this.lp = lp;
        this.lpMoney=lp/100;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

}
